Skip to content

ci: set up release please for pypi#30

Merged
apeck12 merged 3 commits into
mainfrom
pypi
Jun 22, 2026
Merged

ci: set up release please for pypi#30
apeck12 merged 3 commits into
mainfrom
pypi

Conversation

@jtschwar

Copy link
Copy Markdown
Collaborator

Set up release-please for automated PyPI releases

Summary

  • Adds release-please-config.json to configure automated release management with Python release type, changelog sections by conventional commit type, and initial version tracking
  • Adds .release-please-manifest.json seeding the package at v1.0.0
  • Switches pyproject.toml from a hardcoded version = "0.1.0" to dynamic = ["version"] backed by [tool.hatch.version], sourcing the version from src/slabpick/__init__.py
  • Adds __version__ = "1.0.0" to src/slabpick/__init__.py as the single source of truth for the package version

Notes

Two fields in release-please-config.json appear to be copied from a sibling project and need correcting before merge:

  • "package-name" should be "slabpick", not "octopi"
  • "version-file" should be "src/slabpick/__init__.py", not "octopi/__init__.py"

Test plan

  • Confirm release-please GitHub Action is wired up in .github/workflows/
  • Verify pip install -e . resolves version correctly via python -c "import slabpick; print(slabpick.__version__)"
  • After merge, confirm release-please opens a release PR on the next conventional commit to main

@apeck12 apeck12 merged commit 402db96 into main Jun 22, 2026
2 checks passed
@apeck12 apeck12 deleted the pypi branch June 22, 2026 23:11
jtschwar pushed a commit that referenced this pull request Jun 22, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.0.1](slabpick-v1.0.0...slabpick-v1.0.1)
(2026-06-22)


### 🐞 Bug Fixes

* properly set up release please
([#31](#31))
([d236d66](d236d66))
* run names should be type str
([fe3aa58](fe3aa58))
* skip runs with missing voxel spacing in copick minislab generation
([7bceec1](7bceec1))


### ⚙ Continuous Integration

* set up release please for pypi
([#30](#30))
([402db96](402db96))

---
Slabpick on PyPI.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants